﻿using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JES
{
    /// <summary>
    /// 位置和长度信息
    /// </summary>
   public  class PoseDetail : BindableBase
    {
        private double[] _pose ;
        /// <summary>
        /// 当前位置
        /// </summary>
        public double[] Pose 
        {
            get { return _pose; }
            set { SetProperty(ref _pose, value); PoseString = string.Join(",", Pose); }
        }

        private string _poseString;
        /// <summary>
        /// 当前位置
        /// </summary>
        public string PoseString
        {
            get { return _poseString; }
            set { SetProperty(ref _poseString, value); }
        }

       

        private double _length;
        /// <summary>
        /// 当前长度
        /// </summary>
        public double Length
        {
            get { return _length; }
            set { SetProperty(ref _length, value); }
        }

        private double _spotLength;
        /// <summary>
        /// 运行长度
        /// </summary>
        public double SpotLength
        {
            get { return _spotLength; }
            set { SetProperty(ref _spotLength, value); }
        }

        private double _moveCorner;
        /// <summary>
        /// 移动角度
        /// </summary>
        public double MoveCorner
        {
            get { return _moveCorner; }
            set { SetProperty(ref _moveCorner, value); }
        }



    }
}
